
<div class="right">
<?php
@include_component("other","advertise");
function showHot($a){
    $i=0;
    foreach($a as $row){
        if($i==8){
            break;
        }
        if(1005==$row["statusid"]){
            $i++;
            echo ' <li>';
            echo '<a href="'.url_for('album/detail?photoGroupId='.$row["photo_group_id"]).'"';
            echo ' target="_blank"';
            echo '>';
            echo '<img src="'.$row['snapshot'].'"';
            echo ' title="'.$row["title"].'"';
            echo ' alt="'.$row["title"].'" /></a>';
            echo '</p></li>';
        }
    }
}
?>
         <div class="star star03">
            <h2><div class="com_tit">chinese</div></h2>
            <ul>
                <?php showHot($arrChinese);?>
            </ul>
         </div>
         <!--chinese结束-->
         <div class="star star03" style="margin-top:0;">
            <h2><div class="com_tit" >K-POP</div></h2>
            <ul>
                <?php showHot($arrKpop);?>
            </ul>
         </div>
         <!--K-POP结束-->
         <div class="star star03" style="margin-top:0;">
            <h2><div class="com_tit" >J-POP</div></h2>
            <ul>
                <?php showHot($arrJpop);?>
           </ul>
         </div>
         <!--J-POP结束-->
         <div class="star star03" style="margin-top:0;">
            <h2><div class="com_tit" >western</div></h2>
            <ul>
                <?php showHot($arrWestern);?>
            </ul>
         </div>
         <!--western结束-->


     </div>
